package exception;

public class Throw {
    public static void main(String[] args) {
        Person p = new Person();
        try {
            p.setAge(1001);
        } catch (IllegalAgeException e) {
            e.printStackTrace();
        }
    }
}
